package com.yexiao.cofe.constant;

import java.util.Arrays;
import java.util.List;

/**
 * @author lkl
 * @since 2025/4/9
 */
public class PermissionConstant {

    /**
     * 门店权限
     */
    public static final String Store_Read = "Store_Read";
    public static final String Store_Insert = "Store_Write";
    public static final String Store_Delete = "Store_Delete";
    public static final String Store_Update = "Store_Update";

    /**
     * 商品权限
     */
    public static final String Product_Read = "Product_Read";
    public static final String Product_Insert = "Product_Write";
    public static final String Product_Delete = "Product_Delete";
    public static final String Product_Update = "Product_Update";

    /**
     * 分类权限
     */
    public static final String Category_Read = "Category_Read";
    public static final String Category_Insert = "Category_Write";
    public static final String Category_Delete = "Category_Delete";
    public static final String Category_Update = "Category_Update";

    /**
     * 参数权限
     */
    public static final String Param_Item = "Param_Item";
    public static final String Param_Value = "Param_Value";
    public static final String Param_template = "Param_template";

    public static final String Store_Manage = "Store_Manage";
    public static final String Product_Manage = "Product_Manage";
    public static final String Category_Manage = "Category_Manage";
    public static final String Param_Manage = "Param_Manage";
    public static final String Template_Manage = "Template_Manage";
    public static final String Product_Setting = "Product_Setting";
    public static final String Store_Order = "Store_Order";

    public static final List<String> permissionList = Arrays.asList(Store_Manage,
            Product_Manage, Category_Manage, Param_Manage, Template_Manage, Product_Setting, Store_Order);
}
